import {StackNavigator} from 'react-navigation'
import HomePage from './HomePage'
import CustomTrendingPage from "./my/CustomTrendingPage";
import StackViewStyleInterpolator from "react-navigation/src/views/StackView/StackViewStyleInterpolator";

export default Router = StackNavigator({
    HomePage: {
        screen: HomePage,
        navigationOptions: ({navigation}) => ({header: null})
    },
    CustomTrendingPage: {
        screen: CustomTrendingPage,
        navigationOptions: ({navigation}) => ({header: null})
    }
}, {
    transitionConfig: () => ({
        screenInterpolator: StackViewStyleInterpolator.forHorizontal,
        transitionSpec: {
            duration: 250,
        }
    })
})